package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 company
 * 
 * @author ruoyi
 * @date 2023-03-03
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 组织机构代码 */
    @Excel(name = "组织机构代码")
    private String code;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 纳税人识别号 */
    @Excel(name = "纳税人识别号")
    private String number;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 类型 */
    @Excel(name = "公司类型",readConverterExp = "1=个体,2=有限公司,3=有限责任公司")
    private String type;




/** 性质 */


    /** 生产经营期限 */
    @Excel(name = "生产经营期限")
    private String term;

    /** 状态 */

    private Long fakeDelete;

    private String dict_label;

    private String dict_value;

    public String getDict_label() {
        return dict_label;
    }

    public void setDict_label(String dict_label) {
        this.dict_label = dict_label;
    }

    public String getDict_value() {
        return dict_value;
    }

    public void setDict_value(String dict_value) {
        this.dict_value = dict_value;
    }

    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }



    public void setTerm(String term) 
    {
        this.term = term;
    }

    public String getTerm() 
    {
        return term;
    }
    public void setFakeDelete(Long fakeDelete) 
    {
        this.fakeDelete = fakeDelete;
    }

    public Long getFakeDelete() 
    {
        return fakeDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("code", getCode())
            .append("updateTime", getUpdateTime())
            .append("addTime", getAddTime())
            .append("address", getAddress())
            .append("number", getNumber())
            .append("email", getEmail())
            .append("phone", getPhone())
            .append("type", getType())

            .append("term", getTerm())
            .append("fakeDelete", getFakeDelete())
            .toString();
    }
}
